﻿using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations;

namespace AbpProjectTemplate.Web.Models
{
    public class UploadInput
    {
        [Required]
        //[FileExtensions]
        public IFormFile File { get; set; }
        /// <summary>
        /// 指定文件名称，如果不传生成随即
        /// </summary>
        public string FileName { get; set; }
    }
}
